package com.cn.xiaonuo.tcrfinance.xmpay.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author nick Zhong
 * @date 2023/6/25
 */

@Data
@ApiModel(value = "资金查询入参", description = "账户资金查询入参")
public class BranchFundInquiryParam {

    /**
     * 客户编号。为空时，查询平台分户；不为空时，
     * 查询会员分户
     */
    @ApiModelProperty(value = "客户编号", example = "996072275163783171")
    private String platCustNo;

    private Integer userId;

    @ApiModelProperty(value = "证件号码", example = "510107XXXXXXXXXXXXX")
    private String idNo;
    /**
     * 子账户类型：
     * 01-普通资金分户、
     * 02-交易手续费分户、
     * 03-提现手续费分户、
     * 04-营销费用分户
     * 05-鉴权分户
     * 11-待清算资金分户（平台与会员均有此分户）
     */
    @NotNull(message = "子账户类型不能为空")
    @ApiModelProperty(value = "子账户类型", required = true, example = "NORMAL")
    private SubAccountType acctType;

}
